package ygts.csc.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import lombok.extern.slf4j.Slf4j;
import ygts.csc.config.ConfigInfo;

@Slf4j
@RestController
@RequestMapping(value="/User")
public class UserController {
	
	@Autowired
	private  ConfigInfo configInfo;
	
	@GetMapping(value="/getConfigInfo")
	public String getConfigInfo() {
		return configInfo.getUrl();
	}
	
}
